package by.plisitsa.railway.datamodel;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class TrainType extends AbstractEntity {
	@Column
	private Integer factorTrain;
	
	@Column
	private String nameTypeTrn;

	public Integer getFactorTrain() {
		return factorTrain;
	}

	public void setFactorTrain(Integer factorTrain) {
		this.factorTrain = factorTrain;
	}

	public String getNameTypeTrn() {
		return nameTypeTrn;
	}

	public void setNameTypeTrn(String nameTypeTrn) {
		this.nameTypeTrn = nameTypeTrn;
	}

}